import { _decorator, Component, Node } from 'cc';
import { BasePlatform } from '../BasePlatform';
const { ccclass, property } = _decorator;

@ccclass('Web')
export class Web extends BasePlatform {
    
    constructor(id: string = '', key: string = '', video: string[] = [], banner: string[] = [], interstitial: string[] = [], custom: string[] = []) {
        super(null, id, key, video, banner, interstitial, custom)
        console.log('web平台加载完毕')
    }
    
    share(callback?: (success: boolean) => void, channel?: string): void {
        if (callback) {
            callback(true)
        }
    }
}


